An MBA in finance imparts and improves management aptitude, inventive ability, critical thinking ability, and so forth. It offers a real-time experience that fabricates a staunch career foundation for students and working professionals. It helps them to thoroughly understand the financial sector.
Mukul Goenka
16-Nov-2021class HelloWorld {public static void main(String[] args) {
StringContainsVowels sc = new StringContainsVowels();
System.out.println(sc.stringContainsVowels("Hello")); // true
System.out.println(sc.stringContainsVowels("TV")); // false
}
}
class StringContainsVowels {
public boolean stringContainsVowels(String input) {
return input.toLowerCase().matches(".*[aeiou].*");
}
}
Output.